type github.com/lucasb-eyer/go-colorful.edgeIdxs
10 uses
github.com/lucasb-eyer/go-colorful (current package)
sort.go#L61: type edgeIdxs [2]int
sort.go#L65: type edgeDistance map[edgeIdxs]float64
sort.go#L75: m[edgeIdxs{u, v}] = cs[u].DistanceCIEDE2000(cs[v])
sort.go#L82: func sortEdges(m edgeDistance) []edgeIdxs {
sort.go#L83: es := make([]edgeIdxs, 0, len(m))
sort.go#L96: func minSpanTree(nc int, es []edgeIdxs) map[edgeIdxs]struct{} {
sort.go#L104: mst := make(map[edgeIdxs]struct{}, nc)
sort.go#L111: mst[edgeIdxs{v, u}] = struct{}{}
sort.go#L118: func traverseMST(mst map[edgeIdxs]struct{}, root int) []int {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)